package admin.server.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import admin.dao.model.UmsRole;

import java.util.ArrayList;
import java.util.List;


@Schema(description = "角色详情 响应对象")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class UmsRoleDetailDto extends UmsRole {
    private static final long serialVersionUID = 1L;


    @Schema(description = "菜单id列表")
    List<Long> menuIds = new ArrayList<>();


    @Schema(description = "资源id列表")
    List<Long> resourceIds = new ArrayList<>();

    @Schema(description = "菜单-资源树")
    List<UmsMenuNodeDto> tree= new ArrayList<>();


}